/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package game_logic;

/**
 *
 * @author Danilo
 */
public class SquareProxy implements Square{

    private SquareR square;

    public SquareProxy( SquareR square ){
        this.square = square;
    }

    public Color getColor() {
        return square.getColor();
    }

    public int getPosition() {
        return square.getPosition();
    }

    public boolean isIsStart() {
        return square.isIsStart();
    }

    public boolean isOccupied() {
        return square.isOccupied();
    }
}
